package com.feicheng.controller.main.admin.client;


import com.feicheng.common.result.ResultInfo;
import com.feicheng.service.IFClientService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import java.io.IOException;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author cailongyang
 * @since 2021-12-02
 */
@RestController("/main/admin/client/client-vip")
@RequestMapping("/main/admin/client/client-vip")
public class ClientVipController {

    @Autowired
    IFClientService ifClientService;

    @PostMapping("/info")
    public ResultInfo checkVoucher(String uuId, String password,Integer clientId){
        return ifClientService.checkVoucher(uuId,password,clientId);
    }
}
